﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;

namespace IntraVision.Web
{
    [DataContract]
    public class FilterCondition
    {
        [DataMember]
        public string Column;
        [DataMember]
        public string ExpressionType;
        [DataMember]
        public object Value;

        public string GetSQLCondition()
        {
            return string.Format("{0} {1} @0", Column, ExpressionType);
        }
    }
}
